package com.hzlx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Hello world!
 *
 */
@EnableDiscoveryClient//是 Spring Cloud 中的一个注解，用于启用服务发现功能，让你的微服务应用能够注册到服务注册中心
@SpringBootApplication
public class ProducerDemoApp
{
    public static void main( String[] args )
    {
        SpringApplication.run(ProducerDemoApp.class,args);
    }
}
